package com.zx.flow.api.sdk.v1;


import lombok.Data;

@Data
public class FlowSdkProfile {

    public static final String REQ_HTTPS = "https://";

    public static final String REQ_HTTP = "http://";

    /**
     * 域名
     */
    private String host;

    /**
     * HTTPS or HTTP
     */
    private String protocol;

    private int connTimeout = 3 * 1000;
    private int readTimeout = 5 * 1000;

    private int replay = 1;

    private String proxyHost;
    private int proxyPort;
    private String proxyUsername;
    private String proxyPassword;

    public FlowSdkProfile() {
        this.protocol = REQ_HTTP;
    }
}